<!doctype html>
<html class="no-js">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>店铺</title>
    <include file="public/header_m_notitle"/>

    <!--内容列表-->
    <!-- Slider -->
    <if condition="$statu eq 1">
    <h2>推荐图片</h2>
    </if>

    <div data-am-widget="slider" class="am-slider am-slider-a1" data-am-slider='{"directionNav":false}'>
        <ul class="am-slides">
            <foreach name="imgs" item="img">
                <li>
                    <img src="__PUBLIC__/shopImg/{$img.img}">
                </li>
            </foreach>
        </ul>
    </div>
    <foreach name="datas" item="da">
    <div class="dc-div">
        <div class="dc-div-list">
            <img src="__PUBLIC__/shopImg/{$da.sm_img}" class="dc-img"/>
        </div>
        <div class="dc-div-list2">
            <h3>
                <span class="yl-span-list">{$da.name}</span>
                <a class="dc-a-list" href="__URL__/editShop">编辑></a>
            </h3>
        </div>
    </div>
        <ul class="am-list am-list-border">
            <li>
                <a href="__URL__/goodsList/id/{$da.shop_id}"><span class="am-icon-diamond dc-span"></span>我的商品
                    <span class="dc-span-2">></span>
                </a>
            </li>
            <li><a href="{:U('Store/contactUs')}"><span class="am-icon-comment-o dc-span"></span>联系客服<span class="dc-span-2">></span></a></li>
        </ul>
    </foreach>
    <!--end-->

    <include file="public/footer_m_nojs"/>
    <script src="__PUBLIC__/assets/js/jquery.min.js"></script>
    <script src="__PUBLIC__/assets/js/amazeui.min.js"></script>
    <script>
        $(function(){
            $(".dc-div").click(function(){
                window.location = $(this).find("a").attr("href");
                return false;
            });
        });
    </script>
    </body>
</html>